#pragma once

#include "cocos2d.h"
#include "SimpleAudioEngine.h"

using namespace cocos2d;

class Score : public CCNode
{
public:
	Score(CCLayer* layer);
	~Score(void);

	void getMoney(CCPoint position, int money);
	void costMoney(int money);
	void moveDone(CCNode* sender);
	void showMoney(CCNode* sender);
	void showMoneyDone(CCNode* sender);

	CCSize _winSize;
	int myMoney;
	char money[10];
	CCLayer* _layer;
	CCLabelTTF* label;
};

